#include"server.hpp"

int main()
{
    Buffer bf;
    std::string str="hello";
    bf.WriteStringAndPush(str);

    std::string tmp;
    tmp = bf.ReadAsStringAndPop(bf.ReadAbleSize());

    std::cout<<tmp<<std::endl;
    std::cout<<bf.ReadAbleSize()<<std::endl;
    return 0;
}
